-module(emqx_tc_mq_app).

-behaviour(application).

%% Application callbacks
-export([start/2, stop/1]).

%% ===================================================================
%% Application callbacks
%% ===================================================================

start(_StartType, _StartArgs) ->
    io:format("zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz", []),
    {ok, Sup} = emqx_tc_mq_sup:start_link(),
    emqx_tc_hook:load(application:get_all_env()),
    {ok, Sup}.

stop(_State) ->
    emqx_tc_hook:unload(),
    ok.
